package com.rd.teacher.jichao.day22;

public class Test32 {

    public static void main(String[] args) {
        int x = 0, y = 0;
        do {
            System.out.printf("x=%d y=%d\n", x, y);
            if (x % 3 == 0) {
                x++;
                System.out.printf("x=%d y=%d\n", x, y);
                continue;
            }
            x++;
            y = y + x;
            System.out.printf("x=%d y=%d\n", x, y);
            System.out.println("-------");
        } while (x < 4);
        System.out.println(y);
    }
}
